<?php
  define('INIT_XMALL',true);
  define('INIT_ROOT','../');
   include_once(INIT_ROOT."system_include/conn.php"); 
	$val=$_REQUEST["val"];
	$tabname     =$_REQUEST["tabname"];
	$id          =$_REQUEST["id"];
	$sql="update $tabname set `sequence` =$val where id=$id";
    $db->query($sql);
?>
